import Vue from 'vue';
import App from './App';
import uView from "uview-ui";

Vue.config.productionTip = false

Vue.use(uView);

//导入请求封装方法
import request from 'common/request.js'
Vue.prototype.$request = request;

//后端链接
var u = "127.0.0.1:8080";
//var u = "127.0.0.1:8080";

//http/https请求链接
const baseUrl = "http://"+u;
Vue.prototype.$url = baseUrl;

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()

export {
    baseUrl
}
